package com.lc.learn.fileana.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @description: some desc
 * @author: LChuang
 * @date: 2023/10/30 15:15
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum FileTypeEnum {

    DOC(1, ".doc"),
    DOCX(2, ".docx"),
    PPT(3, ".ppt"),
    PPTX(4, ".pptx"),
    PDF(5, ".pdf"),
    TXT(6, ".txt"),
    MD(7, ".md"),
    ZIP(8, ".zip"),
    RAR(9, ".rar"),
    QiZ(10, ".7z");

    private Integer code;

    private String type;

}
